import FairyEditor = CS.FairyEditor;
var App = FairyEditor.App;
import { doctab } from "./DocTab/DocTab";
import { inspertor } from "./Inspector/Inspertor";
import { publisher } from "./Publish/Publish";

function main() {
    doctab.extension();
    inspertor.extension();
}

function onPublish(handler: FairyEditor.PublishHandler): void {
    publisher.onPublish(handler);
}

function onDestory(): void {
    // App.libView.onClick.Remove(compPkgSuffix);
}

setTimeout(() => {
    main();
}, 0);

export {onPublish, onDestory}